<template>
  <h1>BBBBB</h1>
  <p>{{ num }}</p>
  <p>{{ age }}</p>
</template>
<script lang="ts">
export default {
  name: 'BBBBB',
  //声明接收provide
  inject: ['num', 'age'],
};
</script>
<style scoped></style>
